
/*
 * Copyright (C) 2009 Archie L. Cobbs. All rights reserved.
 *
 * $Id: BooleanFieldModel.java 97 2009-04-24 03:45:37Z archie.cobbs $
 */

package org.dellroad.sidekar.schema.model;

/**
 * Boolean schema type.
 */
public class BooleanFieldModel extends AtomicFieldModel {

    public static final String NAME = "boolean";

    // Normal constructor
    public BooleanFieldModel() {
        super(NAME);
    }

    // Copy constructor
    BooleanFieldModel(BooleanFieldModel original) {
        super(original);
    }

    @Override
    public <R> R visit(FieldModelSwitch<R> sw) {
        return sw.caseBooleanFieldModel(this);
    }
}

